A 76-year-old woman has reported a change in the caliber of her stools during the past month. On physical examination, there are no abnormal findings, but a stool sample is positive for occult blood. A colonoscopy is performed and a constricting mass involving the lower sigmoid colon is found. She undergoes a partial colectomy. Which of the following techniques used during surgery can best aid the surgeon in determining whether the resection is adequate to reduce the probability of a recurrence?