def METHOD_NAME(
    self,
    primer_hash=None,
    max_length=25,
    max_iter=10_000,
):
    """
    Generates Nicks that are short.
    Iterates trough hashes deterministically
    until it finds a nick that satisfies
    the lenght restriction.
    """
    hash = primer_hash
    i = 0
    while i < max_iter:
        nick, nick_id, pool_size = self.from_SHA256(hash)
        if len(nick) <= max_length:
            return nick, nick_id, pool_size, i
        else:
            string = str(hash) + str(42)
            hash = hashlib.sha256(str.encode(string)).hexdigest()
            i = i + 1
    return "", 0, 0, i