store_node(n, r->left(), l + 1);
else if (l % 3 == 1)
store_node(n, r->right(), l + 1);
- else if (l % 3 == 0 && n->h() < r->node()->h())
+ else if (l % 3 == 2 && n->h() < r->node()->h())
store_node(n, r->left(), l + 1);
else
store_node(n, r->right(), l + 1);