Building on dam