added check for countinghash saturation