code: def append(self, element: Union[int, Expression]) -> None:
          
          if super(MachineStack, self).__len__() >= self.STACK_LIMIT:
              raise StackOverflowException(
                  "Reached the EVM stack limit of {}, you can't append more "
                  "elements".format(self.STACK_LIMIT)
              )
          super(MachineStack, self).append(element)
docs: :param element: element to be appended to the list
          :function: appends the element to list if the size is less than STACK_LIMIT, else throws an error