added centersOfGravity for debugView