I suspect it's probably some mix of re-submitting affecting timestamps - I am not sure, which was why I asked. it's not terribly important.
I think the problem to be solved however is hard, and i don't know of any obvious solutions, so perhaps "shit" is probably too harsh.