Layers are extracted as level sets of a scalar field.
Objective: smooth gradients while staying close to target height.
Feasible set: bounded field values, monotonic ascent, and linearized slope limits.
Caveat: h_min/h_max bound field values, not direct physical layer thickness.
Caveat: slope cone is linearized (square-pyramid approximation), so diagonal directions are permissive.