Update outer_scan.hpp