improved speed calculation