Soft Quantization using Codeword Uncertainty