code: def reduce_row_width(row_component, root):
      wide_leaf_component_ids = list(
          filter(
              lambda childId: is_wide_leaf_component(root[childId]),
              row_component["children"],
          )
      )
  
      widest_chart_id = None
      widest_width = 0
      for component_id in wide_leaf_component_ids:
          if root[component_id]["meta"]["width"] > widest_width:
              widest_width = root[component_id]["meta"]["width"]
              widest_chart_id = component_id
  
      if widest_chart_id:
          root[widest_chart_id]["meta"]["width"] -= 1
  
      return get_children_sum(row_component["children"], "width", root)
  
imports: import collections
  import json
  import sys
  import uuid
  from functools import reduce
  from alembic import op
  from sqlalchemy import Column, ForeignKey, Integer, String, Table, Text
  from sqlalchemy.ext.declarative import declarative_base
  from sqlalchemy.orm import relationship
  from superset import db
label_desc: Use image node_id 15 for calling a global function with example usage: reduce_row_width(row_component, root) and returns: get_children_sum