def METHOD_NAME(obj, locations):
    kd = kdtree.KDTree(len(locations))
    for i, loc in enumerate(locations):
        kd.insert(loc, i)
    kd.balance()
    large_radius = uniform(.08, .12)
    remove_vertices(obj, lambda x, y, z: np.array(
        [kd.find(v)[-1] for v in np.stack([x, y, z], -1)]) > .015 + large_radius * (
                                                 1 - np.sqrt(x * x + y * y)))