Make a loop test faster.