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 cat in a bathroom sitting on a toilet'. Reverse all words of length '3' in the given sentence.
Example Output: a tac in a bathroom sitting on a toilet

Example Input: Sentence: 'a city bus parked along the road at a bus stop'. Reverse all words of length '1' in the given sentence.
Example Output: a city bus parked along the road at a bus stop

Example Input: Sentence: 'the room has many potted plants in the window'. Reverse all words of length '4' in the given sentence.
Example Output:
the moor has ynam potted plants in the window