the two hundred seventy cubic inch gasoline engine had been replaced with a heavy-duty diesel that boosted its speed in the water from a lackluster five and a half knots to an impressive eighteen knots .