A computer-implemented method for providing a lens shape for an ophthalmic lens , comprising the following steps: a) providing a predetermined lens shape of an ophthalmic lens , having a front surface and a back surface, wherein the predetermined lens shape comprises a predetermined shape of the front surface and a predetermined shape of the back surface within a prescription zone of the back surface bordered by a first boundary line , such that the ophthalmic lens satisfies predetermined optical properties within the prescription zone ; b) determining a carrier point on the back surface within the prescription zone and a plurality of carrier lines each extending from the carrier point into a respective direction; c) determining a transition zone of the back surface, wherein the transition zone extends radially outwards from the first boundary line towards the outer edge of the ophthalmic lens and ends at a second boundary line bordering the transition zone radially outwards; d) for each carrier line (30-37), setting a desired constant curvature gradient in the transition zone ; e) for each carrier line (30-37), determining a curvature profile of the back surface between the first boundary line and an outer edge the ophthalmic lens along the carrier line (30-37), and wherein the curvature profile in the transition zone is determined based on the respective desired constant curvature gradient; and characterized by flattening a profile of the curvature of the prescription zone in the direction of the carrier lines (30-37) along the first boundary line via approximation by a polynomial or a spline function or a Fourier series to obtain a flattened curvature profile and to provide for angular smoothing of the back surface radially outwards of the first boundary line , and wherein the flattened curvature profile is used as a radially inward starting curvature value for each carrier line (30-37). a) providing a predetermined lens shape of an ophthalmic lens , having a front surface and a back surface, wherein the predetermined lens shape comprises a predetermined shape of the front surface and a predetermined shape of the back surface within a prescription zone of the back surface bordered by a first boundary line , such that the ophthalmic lens satisfies predetermined optical properties within the prescription zone ; b) determining a carrier point on the back surface within the prescription zone and a plurality of carrier lines each extending from the carrier point into a respective direction; c) determining a transition zone of the back surface, wherein the transition zone extends radially outwards from the first boundary line towards the outer edge of the ophthalmic lens and ends at a second boundary line bordering the transition zone radially outwards; d) for each carrier line (30-37), setting a desired constant curvature gradient in the transition zone ; e) for each carrier line (30-37), determining a curvature profile of the back surface between the first boundary line and an outer edge the ophthalmic lens along the carrier line (30-37), and wherein the curvature profile in the transition zone is determined based on the respective desired constant curvature gradient; and <EOS>