function resizeRootObject(rootObject, size) {
  const rootObjectFrame = rootObject.frame()
  rootObjectFrame.setWidth(size);
  rootObjectFrame.setHeight(size);
}
@name resizeRootObject
@param rootObject
@param size