Refactoring localScale