Calculating the density based upon the area and the score