Anagram costing