Anagram shrinking