[graph-tool] minimize nested blockmodel dl performance