Score is minus cost
Minor changes in scoring