Create maximumCamDistance