Improved gaps printing.