enforce a max length on anagram phrases
Pulled back in James' tree search for subsets, since it's actually much more efficient