Make this part of SetDigits() reusable in order to be able to also use it in DetermineDigits() now and in SetIncrement() in the upcoming commit. No real changes yet.