convert costs to scores