Use build-in xor_reduce, thanks to hint from Lars Bergstrom (@larsbergstrom)