pair potential subtraction template and operator added