public int getNumber(String[] board) {
		boolean[][] table = new boolean[board.length][board[0].length()];
		for (int i = 0; i < table.length; i++) {
			for (int j = 0; j < table[0].length; j++) {
				table[i][j] = board[i].charAt(j) == 'W';
			}
		}
		for (int r = 50; r >= 0; r--) {
			for (int i = 0; i <= table.length - r; i++) {
				for (int j = 0; j <= table[0].length - r; j++) {
					boolean ret = checkRow(table, i, j, r);
					if (ret) {
						return r * r;
					}
				}
			}
		}
		return -1;
	}