Add the ~algorithm to use for recursion-less inorder traversal