minor bugfix for density and convenience constants