replace the area signed with the model in the reference image