support three index slices