slcs = [np.s_[offsets[i]:offsets[i+1]]
                for i in range(offsets.shape[0]-1)]