[Commits] 1bd845eb1e5: Code cleanup: don't duplicate the position-in-interval code