Added a break condition to the most inner loop
Added a break condition to the most inner loop

HongjianLi/usr,HongjianLi/USR-VS,HongjianLi/usr,HongjianLi/USR-VS,HongjianLi/usr,HongjianLi/USR-VS,HongjianLi/usr,HongjianLi/USR-VS