init potential calc