moved centroid to the bottom