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 passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.
Example Output: a passenger train moves along tracks near a field and trees

Example Input: Sentence: 'a hand holds a napkin with a doughnut as potatoes sit in the bathroom'. Reverse all words of length '1' in the given sentence.
Example Output: a hand holds a napkin with a doughnut as potatoes sit in the bathroom

Example Input: Sentence: 'there is a white vanity next to the toilet'. Reverse all words of length '3' in the given sentence.
Example Output:
there is a white vanity next to eht toilet