modified mass and kernel radius to be based on density and radius