renumber bdflags sequentially, store in vectors vs maps