Text this: Calculation of effective pair potential via the volumetric data.