dist/mindist tasks got improved