I wrote a program using a shaft encoder (x2) high speed input. I have logic in my programming converting input pulses from the encoder to display length of material. On the display the length will only go up to 94", when it reach 94" it starts counting down to 0. Why won't it go past 94"?