Minor optimizations for FFT and _FFT