Changes scaling factor to avoid clipping when gain is 1.0