Do you have a source I can look at or do I have to go look at at or can you point to code by chance?
I'm quite surprised I wasn't aware of this if this is actually how it is implemented, the leading zeroes seemed right (and the difficulty by factor of 2 also!)
Thanks!