from typing import List


def calcCellDeltaList(cell: List[int]) -> List[int]:
    """Calculates the list of step sizes for a cell

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

    Returns:
        list: List of step sizes between levels in the cell
    """
    l = len(cell)
    prev = 0
    out: List[int] = []
    for i in range(1, 2**l):
        curr = 0
        for idx, j in enumerate(list(bin(i)[2:].rjust(l, "0"))):
            curr += 2 ** cell[l - idx - 1] * int(j)
        out.append(curr - prev)
        prev = curr
    return out