FIX: problem with centroid when zeroes in models