Less memory greedy find