Bugfix: Corrected the calculation of the full length of the section to be broken. Could lead to strange results. Own private logger for easier debugging.