def bitfill(num):
    """Fills a number of bits with 1.

    Args:
        num (int): The number of bits to fill.

    Returns:
        int: The filled bits.
    """
    return sum(2 ** i for i in range(num))