fn output_extent(d: usize) -> usizeExpand description
The output-grid extent for an axis of d voxels: the smallest whole number of output
patches (OUT, then one more per SHIFT) that covers it. An axis shorter than one patch gets
one patch; the samples past d are edge-padded and cropped away.