changed method of continuing empty counters; buckets are flushed with timestamp of the beginning of the bucket