Now uses get_prime_array(high) to increase speed