increase iteration of isPrime