code: function alignCoordinates(xss, alignTo) {
    var alignToVals = _.values(alignTo),
      alignToMin = _.min(alignToVals),
      alignToMax = _.max(alignToVals);
  
    _.forEach(["u", "d"], function(vert) {
      _.forEach(["l", "r"], function(horiz) {
        var alignment = vert + horiz,
          xs = xss[alignment],
          delta;
        if (xs === alignTo) return;
  
        var xsVals = _.values(xs);
        delta = horiz === "l" ? alignToMin - _.min(xsVals) : alignToMax - _.max(xsVals);
  
        if (delta) {
          xss[alignment] = _.mapValues(xs, function(x) { return x + delta; });
        }
      });
    });
  }
docs: /*
  Align the coordinates of each of the layout alignments such that
  left-biased alignments have their minimum coordinate at the same point as
  the minimum coordinate of the smallest width alignment and right-biased
  alignments have their maximum coordinate at the same point as the maximum
  coordinate of the smallest width alignment.