(it was already done for Vloc but not for rho_core and other cases) to prevent numerical noise. Noticed by Anton Kozhevnikov.