Maximal functions associated with flat plane curves with mitigating factors