After geting some complains about the BGs being not fair( on my server the aliance:horde ratio is about 1:2) so WSG 5 vs 10 or similiar are quete often, i started developing a algorithm that generates the selectionpools from the BG queues equally.
here you have the code http://pastebin.com/f56798824
It is for a rather old mangos rev so it could need some fixing.
I need testing, especially on AV if the algorithm isnt too slow.
for research see wikipedia
If you find any bug or improvement tell me
EDIT: 25.1. fixed some bugs