Finished greedy part