subtree merge strategy