_markConnectedRegion fixed