add slicing dmatrix