Systems and methods for generating an treatment shape for treating an eye of a patient involve obtaining a treatment effect corresponding to an operator influence profile, obtaining a base shape, producing a set of adjusted shapes that are based on a random fluctuation of the base shape and the treatment effect, evaluating the adjusted shapes of the set according to a merit function, selecting one of the adjusted shapes based on the evaluation, and generating the treatment shape based on the selected shape.