Use the automatic grouping reference guessing for only a part of lines when not all lines can be grouped.