Improvement of function getPdf on AreaLight.