Calculate scale with positive values.