Group tasks by sub-boxes