centroid generation + centroid features added