const size = 300;
const buckets = new Array(size).fill(undefined);
buckets[5] = { timestampInS: 5, spans: new Set(new Array(10).fill(undefined).map((_, i) => ({ val: i }))) };
buckets[55] = { timestampInS: 55, spans: new Set(new Array(1000).fill(undefined).map((_, i) => ({ val: i }))) };
buckets[105] = { timestampInS: 105, spans: new Set(new Array(500).fill(undefined).map((_, i) => ({ val: i }))) };
buckets[255] = { timestampInS: 255, spans: new Set(new Array(1000).fill(undefined).map((_, i) => ({ val: i }))) };