sim: converting to lazy data generation for sine2DWaveform