Anagram constrain