CPM optimization