Stable Prototype with centroid computation