away from any freshwater in order to prevent from contamination. And the food bag should be at least 20 feet high and 10 feet away from any tree trunk. Bears can jump and climb trees to grab the food bag if the food bag is hung the way as shown in the picture.
Just my two cents.