atom: correct iteration count in hash function