xcalib with center of mass