modify speed show,and modify a int overflow bug

speed showing as 9+rand(0,1)