finish clustering with greedy_algorithms