How did new scientific knowledge help the building of the Panama canal?

How did new scientific knowledge help the building of the Panama canal?