The density in the density of states method