euclidean dist fixed