If im not wrong to fully encode a position there is also need for a side, a castling rights and a en-passant square arrays of keys.