Skip the first compare in the loop.
Make the bottom lines be simple.  Also tweak the comments.