fix a bug in creating cutoffGroup. When cutoffGroup is turned off, there is a mismatch between group and center of mass array