get_next_subtree function

Generate the next sub-tree.