Construct a Pat object from the specified string
        and optimal position count.

def from_chars(cls, chars='', optimal=3):
        """Construct a Pat object from the specified string
        and optimal position count."""
        if not chars:
            chars = ''.join(ALNUM)
        sets = most_even_chunk(chars, optimal)
        return cls(sets)