Fixed a problem in aggressive heuristic algorithm.

Upload cost is overly computed.