Create pre-post from nary tree