What type of ground was Bern built on