sieve: record lengths to avoid panics with small lengths.
sieve: record lengths to avoid panics with small lengths.

Fixes #1.

Antiarchitect/primal,cuviper/primal,huonw/primal,cuviper/primal,Antiarchitect/primal,wackywendell/primal,huonw/primal,wackywendell/primal