non-recursion inorder