fourdgsShBound function
The maximum deviation, in code units, a bit depth guarantees.
Exactly half the pitch, which is the relationship every other attribute's grid has to its bound. Eight bits is pitch 1 and bound 0: the byte is stored as it arrived.
Implementation
int fourdgsShBound(int bits) => fourdgsShStep(bits) ~/ 2;