Just a minor tweak for your consideration

I've seen that the count of horizontal and vertical characters is performed for every lcd digit every time, and it is fixed since the beginning of the program. I just calculated it once.