improved batch selection to maintain balance between species