Tree structures: deducing the principle of mechanical design.