Merge "Cap scales used for tessellation with minimum and maximum" into lmp-dev