Greedy and final phase: done and done