proper mode splitting (respect max-modes-per-line)