Ensured that all intermediate values in nattempt calculation are explicitly int_64 to avoid integer overflows.
Ensured that all intermediate values in nattempt calculation are explicitly int_64 to avoid integer overflows.

hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande