Eliminate modulus operator.
Remove TimerExpiredException.