prep for subtree