Two-sided Rauzy induction