Update scaling-and-optimization.rst