Roots, nutrients and their relationship to spatial patterns