Scales waveforms based on max attained value