code: def getsize(data):
      # return smallest possible integer size for the given array
      maxdata = max(data)
      if maxdata < 256:
          return 1
      elif maxdata < 65536:
          return 2
      else:
          return 4
  
imports: import dataclasses
  import os
  import sys
  import zipfile
  from functools import partial
  from textwrap import dedent
  from typing import Iterator, List, Optional, Set, Tuple
label_desc: Use image node_id 9 for calling a global function with example usage: getsize(data) and returns: int, int, int