using CDF instead of area from sample_density
using CDF instead of area from sample_density