pass postorder & preorder