performance testing modifications
seems getPathsAsNodes is terrible