avoid negative value for SQRT(m) estimated value to set spectrum