The investment bill could rise yet more because of a change in the pattern of trade: in 2014 the Panama Canal opens a second lane, doubling its capacity and allowing it to carry bigger container vessels and bulk ships.
So container lines found it relatively easy to take out excess capacity during the 2009 downturn, and are bullish in a big way now that good times are back.
Officials are confident that once the expansion plan is complete it will double the capacity of the port so that it can host at least 12 container vessels at any given time.