Moved percentSimilarity to be Graph wide.