mavenized, tried to parallelize path calculation