building in optimal foraging