Update Quantizer.cs

Fixing overflow issue on 64bit processors