centroid hard-coded parameter changed