subtreemerge