Add lagrange for big ints