C.region_xor func added