fixed permutation counting bug
Fixed pathclass to do shift data for short-ranged david pair actions