Fixed extra iteration step

@vigsterkr @lisitsyn skip_line caused the problem. For now it works.