Replace big.NewInt with cache access