Refactoring Cartesian iteration.