code: def __init__(
      self,
      max_pieces_in_inventory: int,
      raw_piece_size: (int, int),
      static_demand: (int, int),
      reward_aggregator: RewardAggregatorInterface,
  ):
      super().__init__()
  
      ...
  
      # init reward and register it with pubsub
      self.reward_aggregator = reward_aggregator
      self.pubsub.register_subscriber(self.reward_aggregator)
  
label_desc: Use image node_id 1 to create a new Cutting2DCoreEnvironment object from inherited base classes: CoreEnv with example: obj = Cutting2DCoreEnvironment(max_pieces_in_inventory, raw_piece_size, static_demand, reward_aggregator)