Follow up eaf04b9a2f0b399027df251c5d19d58d74e24e6a

Adjustments to the team-splitting algorithm
Thanks to Haruna!

Signed-off-by: shennetsind <ind@henn.et>