port kalroth's rawintensity option