I suspect that the `$sstot` in the expression is 0, making it a div-by-zero issue. Handing to Arjen.