Anagram demerging