code: def makeSStepper(stepSize):
      def stepper(val, n, first: bool):
          if val < MIN_REGULAR_TIMESTAMP or val > MAX_REGULAR_TIMESTAMP:
              return np.inf
  
          if first:
              return (val // (n * stepSize) + 1) * (n * stepSize)
          else:
              return val + n * stepSize
  
      return stepper
  
imports: import sys
  import time
  from collections import OrderedDict
  from datetime import datetime, timedelta, timezone
  import numpy
  from .AxisItem import AxisItem
label_desc: Use image node_id 2 for calling a global function with example usage: makeSStepper(stepSize) and returns: stepper, np, unknown, unknown