minor
extract fft. needs more work.
extract regex automata