def isimplify(geoids):
s0 = list(geoids)<EOL>for i in range(<NUM_LIT:10>):<EOL><INDENT>s1 = simplify(s0)<EOL>if len(s1) == len(s0):<EOL><INDENT>return s1<EOL><DEDENT>s0 = s1<EOL><DEDENT>
Iteratively simplify until the set stops getting smaller.