Add dynamic scaling.