BUG-4158: optimize ImmutableOffsetMap