complete the avl tree