Text this: Optimal and adaptive foraging in heterogeneous and crowded resource landscapes