finish the bistree using AVL tree