new style parameter multiMeasureRestMargin; fix #2834