refining input problem with lesion fill