replaced all instances of new Set<Bucket>() by new Buckets