computes checksum and checks against next DS