Solve utopian tree.