Greedy mode