fix if fewer than 100 iterations