improve resource selection for different densities