It can be inferred from the passage that an important reason for the decision of the United States to build a canal was to ()
A.develop trade relations with Europe
B.improve relations with South American countries
C.prevent European ships from reaching the Pacific Ocean
D.reduce travel time for its ships in case of war