Here is the algorithm. It controls it. It scales (10:17) https://youtu.be/TTLct2xmAyY?is=K6_WXYZlIGPlLjmo