from typing import List


def calcCellDelta(cell: List[int], bpc: int) -> int:
    """Calculates the sum of the step sizes for a cell

    Args:
        cell (list): List of bits in a cell (i.e. [0, 1, 2, 3])
        bpc (int): Bits per cell

    Returns:
        int: Sum of the step sizes between levels in the cell
    """
    cell = [2**x for x in cell]
    return sum(
        [2**i * (cell[bpc - i - 1] - sum(cell[0 : bpc - i - 1])) for i in range(bpc)]
    )