prevent blank space horizontally in the waveform