raise error when fft size is wrong