def METHOD_NAME(block, min_dim=3):
    mybs, dim = get_block_string_and_dim(block, min_dim=min_dim)
    rbid = np.zeros(dim, dtype="int64")
    for i, myb in enumerate(mybs):
        if myb == "":
            continue
        s = get_block_level(myb)
        if s == 0:
            continue
        rbid[i] = int(myb[:s], 2)
    return rbid