The number theoretic transforms over the direct sums of finite fields with application to digital filtering