Limit ratios to avoid inavalid solutions