simplified slice creation API for DenseSlice