FIR and RingBuffer optimizations
Not importand changes