Use better exclusive or algorithm.