Added last row merger

New parameters.