heuristics for alliances