more efficient view centroid