Use Int64 to avoid potential integer overflow .