Iterative binary tree traversal.