Update dists.cpp