Undid code that performs XORs with longs instead of bytes
Enhanced latency measurement code