code: function(items, heightRatio) {
              if(!heightRatio) return;
  
              for(var i = 0; i < items.length; i++) {
                  items[i].relativeHeight = heightRatio * (items[i].diffWithNextRelativePos ? items[i].diffWithNextRelativePos : 0);
              }
          }
docs: Method that calculates items' "virtual" height depending on relative positioning