avoiding duplicate similarity computation