fix bugs with double computing and with traffic_matrix && add cost_migration list