Fixes a label cache issue where high label id was 0

Also made LongArray#setAll more convenient to use by returning itself.