complete maximizing xor