changes in offer graph to improve performance.