The naughty implement discovers the greedy tree.