anchor.diff:  								false ->
   									orddict:store(TimeMs, [{length, Length}], orddict:new());
   								ManagerPid ->
  -									ManagerPid ! {download_progress, [{download, Download}, {speed, ByteCount / TimeDiff}, {progress, ByteCount}]},
  +									ManagerPid ! {download_progress, [{download, Download}, {speed, ByteCount / (TimeDiff / 1000)}, {progress, ByteCount}]},
   									orddict:store(TimeMs, [{length, Length}], orddict:new())
   							end
   					end
  
positive.code: 				Diff when Diff < 1000 ->
  					orddict:store(TimeMs, [{length, Length}], SpeedOrddict);
  				Diff when Diff >= 1000 ->
  					ByteCount = calc_byte_sum(SpeedOrddict:to_list(), 0),
  					Max = list_max(Timestamps),
  					Min = list_min(Timestamps),
  					TimeDiff = Max - Min,
  
negative.code: 	calc_byte_sum(Elems, Sum + proplists:get_value(length, LengthProps)).
  
  update_speed(Account, Download, SpeedOrddict, Length) ->
  	TimeMs = date_lib:now_to_milliseconds_hires(now()),
  	case orddict:is_empty(SpeedOrddict) of
  		true ->
  			orddict:store(TimeMs, [{length, Length}], SpeedOrddict);
  