odistCentroid problem fixed