Finished switching from distance-based comparisons to similarity-based comparisons.