removed dependencies on DensitySet