#15 solved and more efficient splitting algorithm since it does not include and delete all the annotations, just the ones needed.
Merge pull request #16 from nicoyuste/master

#15 solved.