When an optical beam propagates through dielectric blocks, its optical phase is responsible for the path of the beam. In particular, the first order Taylor expansion of the geometrical part reproduces the path predicted by the Snell and reflection laws whereas the first order expansion of the Fresnel phase leads to the Goos-Hanchen shift. In this paper, we analyze the effects of the second order Taylor expansion of the geometrical phase on the shape of the optical beam and show how it affects the transversal symmetry of Hermite-Gaussian beams. From the analytical expression of the transmitted beam, it is possible to determine in which transversal and parallel dielectric blocks configuration the transversal symmetry breaking is maximized or ...