cumulative distribution function technique