Pair potential calculation of molecular associations: a vectorized version