Update : added function for setting min/max scale

* Added function for setting min/max scale.
* Fix to remove unused params.