minor to SubTreeSimilarity