use centroid() for DCR Rbar test
(#564)