Optimization init
No need in set anymore
Reserve primes memory
Merge pull request #1 from algor512/optimization

Optimization