tweak resource cutoff values
Prevent divide by 0