replaced _infty with std::numeric_limits<double>::max() in hs_wca potential