Bucket queue uses hashset