Increased number of iterations in threshold test