Added saveBubbleShapeFactors.