Minimize border effects for filter.bpfilt