Update fastscan.cpp