fix bug in tailored Euclidean distance while operating on 1st geosubclu stage