Silenced more sign-compare warnings and optimized the affected loop conditions.
Silenced more sign-compare warnings and optimized the affected loop
conditions.

kyledewey/stp,kyledewey/stp,kyledewey/stp,kyledewey/stp,kyledewey/stp,kyledewey/stp