removed unnecessary post-increment in hamming 128/256