Implemented SimilarDistanceReducer