private void check(boolean[][] checked, int i, int j, int dist) {
		if (checked[i][j]) {
			return;
		}
		checked[i][j] = true;
		for (int dx = -dist; dx <= dist; dx++) {
			for (int dy = -dist; dy <= dist; dy++) {
				if (Math.abs(dx) + Math.abs(dy) <= dist) {
					int i2 = i + dx, j2 = j + dy;
					if (i2 >= 0 && i2 < checked.length && j2 >= 0
							&& j2 < checked[0].length) {
						if (field[i2].charAt(j2) == 'v') {
							check(checked, i2, j2, dist);
						}
					}
				}
			}
		}
	}