Bucket factory keeps track of chains