deal optimization