Anagram accumulatively