refactor Seeds, RandSRG, similarity_criterion