MinLeft and MaxLeft for findMinimumLeaf