optimize the heck out of the hit count
optimizing the -l and -c loops