fixed bug in out-degree distribution