Fix loop to non-loop for execute less time.