Found a bug. Element list is not correct. Auxiliary boxes for starting and ending borders are not generated. May cause wrong break decisions.