Fine-grained load balancing with traffic-aware rerouting in datacenter networks