Attempt to simplify/fix/speedup postorder traversal