In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.

Example Input: Sentence: 'a baby elephant in the middle of a field'. Reverse all words of length '3' in the given sentence.
Example Output: a baby elephant in eht middle of a field

Example Input: Sentence: 'a dog sitting in the passenger seat of a vehicle'. Reverse all words of length '9' in the given sentence.
Example Output: a dog sitting in the regnessap seat of a vehicle

Example Input: Sentence: 'a man in the kitchen with his two large dogs'. Reverse all words of length '7' in the given sentence.
Example Output:
a man in the nehctik with his two large dogs