Theory of surface plasmarons. II. The effect of a finite thickness of the accumulation layer