reading the "ratio" calculation line, I think that using `Math.sqrt(blob.size/limit)` is enough, I don't know why you're trying to limit it to a number with 1 decimal before calculating the square root ?