slice_shape is never used