docs: def _sbd(x, y):
      """
      >>> _sbd([1,1,1], [1,1,1])
      (-2.2204460492503131e-16, array([1, 1, 1]))
      >>> _sbd([0,1,2], [1,2,3])
      (0.043817112532485103, array([1, 2, 3]))
      >>> _sbd([1,2,3], [0,1,2])
      (0.043817112532485103, array([0, 1, 2]))
      """
      ncc = _ncc_c(x, y)
      idx = ncc.argmax()
      dist = 1 - ncc[idx]
      yshift = roll_zeropad(y, (idx + 1) - max(len(x), len(y)))
  
      return dist, yshift