Improved performance of FFT