added support to set all scales of the same type to a commonScale