products in long number, cleaned sieve,refactored