Anagram reassembling