add DensityMap for density calculation
Update to density map implemented version