Picking best label positions in a streamgraph along the same lines as this example, but fitting the maximum possible font size in each area.