Very beginning of AVL tree conversion