implement grouping for hot tracking in segment construction