Topography of the merit function landscape in optical system design