Influence of the thickness of the liquid layer on the ratio of the dimensions of a convection cell