Improvements to scale transformation