adjusted secondary hash reconstruction to mitigate collisions