def METHOD_NAME(obj, from_facesize, to_facesize, apply=True, max_levels=6):
    if to_facesize > from_facesize:
        logger.warn(f'subdivide_to_facesize recieved {from_facesize=} < {to_facesize=}. Subdivision cannot increase facesize')
        return None
    levels = int(np.ceil(np.log2(from_facesize/to_facesize)))
    if max_levels is not None and levels > max_levels:
        logger.warn(f'subdivide_to_facesize({obj.name=}, {from_facesize=:.6f}, {to_facesize=:.6f}) attempted {levels=}, clamping to {max_levels=}')
        levels = max_levels
    logger.debug(f'subdivide_to_face_size applying {levels=} of subsurf to {obj.name=}')
    _, mod = butil.modify_mesh(obj, 'SUBSURF', apply=apply, 
                    levels=levels, render_levels=levels, return_mod=True)
    return mod # None if apply=True