Push the highest costing tiles first, so we'll check them last. Should keep working when there's a dead end.