Would be nice to refactor that one, too. For label scan store, we know labels are ints. We should store them as such. If I understand the bitmap format correctly, changing to ints would mean a 30 % size difference per stored "label: bitmap" row which to me seems to big to ignore.