Tweaks to sieve