store calculated primes and extend set on reload