configure optimizer