message: fix stats.firstResidueLoc assignment
diff: @@ -48,6 +48,7 @@ export namespace Stats {
  }
  function handleElement(stats: Stats, element: Loci['elements'][0]) {
  + console.log('handleElement', stats, element)
  const { indices, unit } = element
  const { elements } = unit
  const size = OrderedSet.size(indices)
  @@ -94,7 +95,7 @@ export namespace Stats {
  // full residue
  stats.residueCount += 1
  if (stats.residueCount === 1) {
  - Location.set(stats.firstResidueLoc, unit, elements[offsets[rI]])
  + Location.set(stats.firstResidueLoc, unit, offsets[rI])
  }
  } else {
  // partial residue
  @@ -288,7 +289,7 @@ export namespace Stats {
  }
  }
  }
  -
  + console.log('hasPartitions', hasPartitions)
  if (hasPartitions) {
  for (let i = 0, len = loci.elements.length; i < len; i++) {
  const e = loci.elements[i];
  