const FLOOR: u8 = 0xff;
Encode pieces one row per byte, highest row in the most significant position.