Revert "Can change the static ratio from outside the function here"

This reverts commit 4cc114bb0c871172b1902bf1232710ca7b8b3f2f.