iterative postorder traverse