INDEX SHIFT 2D CHESSBOARD y: 0-7, x: 0-7 BIT MAPPING idx = y * 8 + x 64-BIT INTEGER 1ULL << idx