Hello, > But yes, if you only need an estimation of the distance you don't need n x n Unfortunately, I think, that an estimation will not be enough in some cases, so we're at n x (n-1), but yes, I missed that -1. Regards, Flo