Sliding DFT
Based on this: https://github.com/bronsonp/SlidingDFT/blob/master/sliding_dft.hpp