Update speed-main.cpp