Fix aggressive loop optimization warning
Merge pull request #41 from wortiz/loop-fix

Fix aggressive loop optimization warning