Change_box command to remap molecules' center of mass

From the change_box command, is it possible to remap the center of mass of each molecule in the system, so that the intramolecular interaction energy remains the same after the volume change?

Currently I’m only able to remap each atom. So when I expand the simulation box, the atoms of the same molecule are more distant, which changes the intramolecular potential energy.

Since the change_box command will scale the positions of all atoms in the specified group, you will have to define a group that contains no atoms to avoid having the changes in the intramolecular interactions.
E.g. with:

group none empty
change_box none ...