foodHeuristic small refactor