Dense subgraph extraction