counter has to be long
make it more robust for big data sets
make osmIdMap less problematic for a big capacity (many values)
reduce mem usage for nb starter
fixing long vs. int issue in capacity