This is an annoying corner case I (finally) hit, where the `npad` and resampling ratio conspire to have a +1 sample length ambiguity.