Actually, guarding against an infinite loop is already done. From above:

`if(t > lowprimes.length) t = lowprimes.length;`