Modify `inpaint_fmm` to work without `_run_inpaint` parameter