Updated Sieve module implementation