Short-circuit recursion if max_font_size is too small or min_font_size is too big

This pull request don't bother running the full recursion if it sees that the font sizes specified by the bounds are already the correct result. This is mainly a performance boost.