Bucketize shards in Raptor