Restructure the loop, and see about 3% speedup in run time

- Rewrite the loops such that gcc can vectorize them using saturated-sub
- Restructure the loop, and see about 3% speedup in run time. I believe…
- longest_match() implementation for x86-family platform.