layered collocationgraph initial implementation