make osmIdMap less problematic for a big capacity (many values)
reduce mem usage for nb starter
fixing long vs. int issue in capacity