His replacement, John Stevens, lasted just 20 months, but oversaw the engineering of the canal's lock system and restructuring of the Panama Railroad -- two hurdles critical for the project's success.