Cleaning `inpaint` function
Configure to work with `fmm.inpaint`