maximum minimum of bst