merge with avl tree