Decay of correlations for weakly expanding dynamical systems with Dini potentials under optimal quasi-gap condition. (22nd December 2021)