changed default num_iterations to 15 and thresh to 12