fft is functional with output matching dft