add the actual cost to the debug info