improve speed of FIR filter