private int sMax(int sMax) {
		if (radius <= 100) {
			return (int) Math.floor(0.8 * sMax);
		} else if (radius >= 800) {
			return sMax;
		} else {
			double result = 0.09 * Math.log1p(radius) + 0.4;
			return (int) Math.floor(result*sMax);
		}
	}