function makeBuckets (colors, depth, current) {
if (current == depth) return [colors];
current++;
const buckets = bucket(colors, greatestVariance(colors));
return makeBuckets(buckets[0], depth, current)
.concat(makeBuckets(buckets[1], depth, current));
}