revert MAX_SET_DIGIT efficiency hack, now broken

This worked OK on the Pi, but breaks on x86. Do not know
why this is, but the speed win wasn't all that great on
the Pi, so I'm just ripping it out. Perhaps I'll return
to it another time.