rng : preview
add nfft detection