Fixed spike quantization bug

Notice.