upper limit bucket number
refactor sliceUntilNow
Fixing some tests
fix flow to be secuencial
Minor refactor
remove empty function
Added test cases for TimeWindow. TimeWindow asynchrony refactored
Merge with bucketLogic