compress some lines