Perimeter of region connected