attempting estimation
now computing pairwise distances only once