change eps and factor (optimization only)