change in SimpleAlgorithm and TrafficGenerator