okay, now how is this commit at preventing duplicate shares? I try to prevent the overflow of pdata[19] so the if (work.data[19] >= end_nonce) in the miner thread can detect that we've reached the end of the search space.