decouple max_lenfrg from merge_max_length for aggregated activity merge