have the densities as a dictionary with hiers as keys