A tiny polynomial turns x positions into shard values.
Pin the line
The shard rule is f of x equals 2 plus 3 times x, all modulo 5.
f(x)=2+3x(mod5)
The starting value
At x equals 0, the shard value is the intercept 2.
The step size
Each step in x adds slope 3 before the modulo wrap.
slope=3
Summary
A tiny line creates several shard numbers. Later, two kept points can rebuild the same line.
two points rebuild a line