Filter with finite impulse response