Since you've defined these values in `_inpaint`, why not reuse them?