The main factors are the advance or recession of the Scandinavian glacier and the isostatic sinking of the landforms due to the weight of ice or isostatic rebound (springing back) when relieved of it. The glacier provides a massive flow of fresh water. Salt water enters from the North Sea through straits when the sea level is high enough to allow reverse flow over the sill. When the straits are above sea level or close to sea level, fresh water will accumulate and a lake forms. Fresh water will accumulate to levels substantially higher than sea level when the sills are substantially above sea level. The release of fresh water from the glaciers depends on climate; the presence or absence of entrances to the ocean depends on land rise and oceanic water level; the latter of course is also affected by the amount of ice held in glaciers worldwide.