changes to sieve in rotate mode