in terms of performance the formula seems to be : dense parameters = sqrt(total*active)