TrafficMeter: more optimizations