Proper downsampling using CIC filter