Get min height of a tree