Second reducer and partial similarity computations