finish the build_tree and update the case for balanced binary tree.