Adapt to the river or sea level conditions using hydraulic foundation