Added rollingSumXor