Anagram retrimming