Port to primesieve-5.2