Moved setDensityMap into it’s own functuon.