Modification to ShapeMod.