pop/push new line on size threasold