drafted fft_history module,but not tested and refactory.