improved speed estimation.