Parametrized FFT engine