Limit species clustering to 25 iterations

It usually takes five or less iterations, but occasionally it will get stuck and
do many, many more, so we limit it. The clustering isn't perfect then, but it
should be good enough.