Using uint64_t, Added speedup test.