In the compensation technique, the influence of the global sample potential formula_26 on formula_8 depends on the shape of the sample surface in a way that is defined by the corresponding boundary value problem.