Note that buffer includes previous sample and current sample so its size is 2^factor + 1
See Implementation
Note that buffer includes previous sample and current sample so its size is 2^factor + 1