added an "edge" potential.