code: func AggBoundary(ts uint32, span uint32) uint32 {
  	return ts + span - ((ts-1)%span + 1)
  }
docs: // AggBoundary returns ts if it is a boundary, or the next boundary otherwise.
  // see description for Aggregator and unit tests, for more details