Grow/shrink graph based on max stacked value