get rid of need for explicit storage of setting arrays in table and linear potentials