Make scaling method configurable