code: function convertMultiplicationToExponent(node) {
    const newNode = clone(node);
  
    const radicandNode = getRadicandNode(node);
  
    if (Node.Type.isParenthesis(radicandNode)) {
      const child = radicandNode.content;
      if (isMultiplicationOfEqualNodes(child)) {
        const baseNode = child.args[0];
        const exponentNode = Node.Creator.constant(child.args.length);
        newNode.args[0] = Node.Creator.operator('^', [baseNode, exponentNode]);
        return Node.Status.nodeChanged(
          ChangeTypes.CONVERT_MULTIPLICATION_TO_EXPONENT, node, newNode);
      }
    }
    else if (Node.Type.isOperator(radicandNode, '*')) {
      const children = [];
      radicandNode.args.forEach(child => {
        if (Node.Type.isParenthesis(child)) {
          const grandChild = child.content;
          if (isMultiplicationOfEqualNodes(grandChild)) {
            const baseNode = grandChild.args[0];
            const exponentNode = Node.Creator.constant(grandChild.args.length);
            children.push(Node.Creator.operator('^', [baseNode, exponentNode]));
            return;
          }
        }
        children.push(child);
      });
  
      newNode.args[0] = Node.Creator.operator('*', children);
      return Node.Status.nodeChanged(
        ChangeTypes.CONVERT_MULTIPLICATION_TO_EXPONENT, node, newNode);
    }
  
    return Node.Status.noChange(node);
  }
docs: Given an nthRoot node with a constant positive root, will convert any grouped factors into exponent nodes as a step e.g. nthRoot((2 * 2) * 2, 2) -> nthRoot(2^2 * 2, 2)