Is it clear enough that every spline using this function should defined `_lastTimeIndex`?