finish balanced binary tree