made the win cost model deterministic