splits groups into even-sized chunks