pure functionder_density_psxi