Fit condition to one line