Global sieve doesn't run and I don't know why