add scale param to merge