Tweak Lucas-Lehmer trial division