code: def main():
      num_threads = 10
      use_threads = True
  
      if not use_threads:
          # Run core code
          runShapelyBuilding()
      else:
          threads = [
              threading.Thread(
                  target=runShapelyBuilding, name=str(i), args=(i,)
              )
              for i in range(num_threads)
          ]
          for t in threads:
              t.start()
          for t in threads:
              t.join()
  
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types