dont remove more lines than exist in the whole text