upgrade plotstools with better multi_dim_dist