Update cumProfitColorConverter algorithm