Anagram prestructuring