change the case for balanced BST to use build_tree func.