code: def __init__(self, size):
      self.index = 0
  
      self.size = size
      self.full = False
  
      self.sum_tree = [0] * (2 * size - 1)
  
      self.data = [None] * size
  
      self.max = 1
  
file_path: SerpentAI/serpent/machine_learning/reinforcement_learning/rainbow_dqn/segment_tree.py
label_desc: Use image node_id 1 to create a new SegmentTree object  with example: obj = SegmentTree(size)