Square root max limit improvement.