convert.c: Optimize loops. Actually break early out of loops.
convert.c: Optimize loops. Actually break early out of loops.

rogerapras/apg,wilx/apg,wilx/apg,rogerapras/apg,wilx/apg,wilx/apg,rogerapras/apg,rogerapras/apg