minor improvements to ByteAggregator