merge avl tree changes