Move scaling logic to make it run immediately.