Fixes all the NaN where data covers partial buckets