How long did it take to sail around south America before panama canal?

about 4 months