Follow-up from "Resolve "fix nn slice algorithm""

The following discussion from !37 (merged) should be addressed:

  • @fgoth started a discussion: (+2 comments)

    This code could be compactified by introducing an offset: offs = 0 if haszero: offs = 1 lsta = np.array(lst[offs:])+...