updating odd-order input_BPF code