Update surrounded region.cpp