add pointer to score range to calc_similarity method