added graph-tool splitting