fft: use pointers for the swap loop