minor tweaks to FFT