get_max_distance() does not yield a good hint for the lower value Also it requires an extra traversal of the tree.