New potential formula is encoded. Enabled by default. To use the old one, redefine preprocessor variable POTENTIAL to be 1