add degree distribution generation