Lloyd-Max-style scalar codebook for 4-bit TurboQuant encoding.
MIT notice: clean-room RedDB implementation for the turbovec-compatible TurboQuant surface; no upstream turbovec source is copied.