fft: use pointers for the outer loop