Add fix at sweeping algorithm: sweeping happens in the opposite direction as expected Add test case tests/bugs/modalg_7/bug32877