Whereas on one hand we would like to reduce the aggregate amount of flow, on the other we would like to reduce the turning costs.

These are conflicting goals.

Hence, an optimization problem is presented. As a result of this optimization, whether by nature or by our computer simulation, complex leaf branching patterns are formed.