Just a suggestion , Shouldn't we need to use Math.round instead of direct int when watch mode is in %, example i have 3 boolean clauses if i go for mm=50%, currently it reduce it to ~1, instead it can be ~2,
another example could be when we have 5 boolean clauses and mm=75%, we get calc as 3.75 currently it took 3, so instead of 3 it should have taken 4. as Math.round()