Optimized "primeList"