Simplify distribution function