Case handling of 0-length waveform --kazu