Functions as a peptidoglycan terminase that cleaves nascent peptidoglycan strands endolytically to terminate their elongation. Homodimer (Ref.6). Interacts with PBP1b (PubMed:26507882). Inactivation leads to a significant increase in glycan strand length in the mature peptidoglycan matrix. Belongs to the transglycosylase MltG family.