Adiabatic approximation from a renormalization group inspired method