Anagram quantization