A higher order Levin-Fainleib theorem