updateLevels works, while compensator not working
compensator for stocks now work!
I am going to do more testing with weired inputs to make sure the robusty!