Printing extra rows around output