Merge "Assign 0 to buckets that do not exist"