refs #1082, change newPivot to newMax