loop optimize

If guarantee the loop one or more times, this is more better