collecting outer border of each lesion