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 woman on the beach getting ready to throw a frisbee'. Reverse all words of length '1' in the given sentence.
Example Output: a woman on the beach getting ready to throw a frisbee

Example Input: Sentence: 'a traffic light with road instructions directs traffic'. Reverse all words of length '4' in the given sentence.
Example Output: a traffic light htiw daor instructions directs traffic

Example Input: Sentence: 'two men playing a video game while a woman watches'. Reverse all words of length '1' in the given sentence.
Example Output:
two men playing a video game while a woman watches