On the gap between two classes of analytic functions