def METHOD_NAME(self, max_length=22, max_iter=1_000_000, num_runs=5000):
    """
    Computes median an average loss of
    nick pool diversity due to max_lenght
    restrictions.
    """
    import random
    import statistics
    attempts = []
    for i in range(num_runs):
        string = str(random.uniform(0, 1_000_000))
        hash = hashlib.sha256(str.encode(string)).hexdigest()
        _, _, pool_size, tries = self.short_from_SHA256(hash, max_length)
        attempts.append(tries)
    median = statistics.median(attempts)
    mean = statistics.mean(attempts)
    print(f"\nFor max_length of {max_length}:")
    print(f"Median loss of entropy factor is {median}.")
    print(f"Mean loss of entropy factor is {mean}.")
    print(
        f"Approximate real pool is {human_format( int(pool_size/(mean+1)))} nicks in size."
    )