Found a good binary comparison algorithm.