public static void makeMaskB()
	{
		int sq;
		for ( sq = 0; sq < 64; ++sq )
		{
			maskB[sq] = 0;
			int i;
			for ( i = sq - 9; i >= 0 && i % 8 != 7; i -= 9 )
				maskB[sq] |= 1L << i;
			for ( i = sq - 7; i >= 0 && i % 8 != 0; i -= 7 )
				maskB[sq] |= 1L << i;
			for ( i = sq + 9; i < 64 && i % 8 != 0; i += 9 )
				maskB[sq] |= 1L << i;
			for ( i = sq + 7; i < 64 && i % 8 != 7; i += 7 )
				maskB[sq] |= 1L << i;
		}
	}