alternate implementation of guessIfNotOk which avoid re-parsing digits