test for ifft, found some strange effect in computation of n-th coefficient of 2*n fourier transform;
temporary fix using some hack