fft: use pointers for the inner loop