lib: fix splitting at the end of interval
0.3.10