private void moisture(double[][] array, boolean[][] water, int x, int y) {
		if (water[x][y]) {
			calc[x][y] = 6.0;
			for (int k = 1; k < 4; k++) {
				ArrayList<Object[]> a = getNearbyRegions(array, x, y, k);
				for (Object[] r : a)
					if (r != null && !(array[x][y] > 0.5)) {
						double m = calc[x][y] * (1.0 / 3.0);
						if (m > calc[(Integer) r[0]][(Integer) r[1]])
							calc[(Integer) r[0]][(Integer) r[1]] = m;
					}
			}
		}
	}