BST min and max values