Subtree replacement systems