leverage iterative inorder traversal