Anagram restructure