pure functioncriticalDensity_xi