Use the built-in postorder iterators rather than computing a postorder walk by hand.