Implement L1 optimizations for larger sieve sizes.