half-working center of mass