Risk sharing in licensing