Dynamic Depth for Better Generalization in Continued Fraction Regression