First improvement to reduce getCPUDemand cost - Adrien