More accurate contract value calculation