Add minLength matching for anagram