calculate WSSE digest