further improvements in OcrDigit