Windows will only condense similar windows into one group when it runs out of space. If it doesn't ungroup them afterwards, it's because Windows feels it doesn't have enough space to do so. You can't change the precise number, but do what suprasteve suggests to disable the grouping.