Optical scanners must only count in whole numbers and be blocked from the use of fractional numbers.
Which is addressed by having the machines available ONLY from the FEC, and having software source code and hardware schematics publicly available.