made xor using strides functional