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: 'the bathroom has a toilet a window and a sink'. Reverse all words of length '8' in the given sentence.
Example Output: the moorhtab has a toilet a window and a sink

Example Input: Sentence: 'a kitchen counter filled with various types of fruits and vegetables'. Reverse all words of length '4' in the given sentence.
Example Output: a kitchen counter filled htiw various types of fruits and vegetables

Example Input: Sentence: 'a yellow train car sitting inside of a large building'. Reverse all words of length '1' in the given sentence.
Example Output:
a yellow train car sitting inside of a large building