Implemented long range correction for interaction groups