perimeter_scan
