add boundary treatment for spline_filter_bank_1d