Use boost::multiprecision to compute the exact number of paths.

It requires Boost 1.53.