Improve performance of format by using "space_upto_line_break" instead of "fits"