Anagram compressing