Performance improvement

Main sieving algorithm should use plain C data types for best
performance