It is not just making your cabinets less tall; one has a vent to plumb through the attic and to the outside through the roof. Here the 4x10 goes to the attic; then it is a round 6" duct that touches the through roof vent.
To move out the oven; here we purposely made the vent piping in sections...