See ticket #6390
Solution could either be:
- to always place the whole team on one side (e.g. in a 7v1 -> 7 on one side and 1 on the other)
- try to put team on the same side but keep the same number of spots as the function has right now.
Solution 1 has some bad edge cases, especially on small maps, so the solution that is used in this patch is the second one.
Just add an groupPlayersByArea to assure that in the most common cases (e.g. 3v2) the bigger team is on the same side.