made FIR parameterizable in stages