optmizing fft and benchmark