linear example adapted so that no variable becomes <0