$dateTrunc aggregation operator doesn't return expected value

Here is the stack overflow discussion of this issue - MongoDB $dateTrunc aggregation operator doesn't return expected value - Stack Overflow. Seems the starting point for unit: day with binSize are random