code: function flattenSlotSegLevels(levels) {
  	var segs = [];
  	var i, level;
  	var j;
  
  	for (i=0; i<levels.length; i++) {
  		level = levels[i];
  
  		for (j=0; j<level.length; j++) {
  			segs.push(level[j]);
  		}
  	}
  
  	return segs;
  }
docs: Outputs a flat array of segments, from lowest to highest level