The scaffolding algorithm is greedy.
