debugging similarity calcs