add maximum-scale and minimum-scale