A quasi-equilibrium beam compression in a recirculator for heavy ion inertial fusion