make xor aware of constants