Generate greedy paths in list.