function _transformDims (dims) {
  return dims.map(dim => dim + 1)
}
Transforms the dimensions by adding 1 to each dimension.

@param {Array} dims - The dimensions to transform.
@returns {Array} The transformed dimensions.