def isimplify(geoids):
    """Iteratively simplify until the set stops getting smaller. """

    s0 = list(geoids)

    for i in range(10):
        s1 = simplify(s0)

        if len(s1) == len(s0):
            return s1

        s0 = s1