swapFFT: some changes