Optimization of the recovery efficiency in an axial HGMF cell with bounded flow field