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 can of pepsi and cellphone on the table'. Reverse all words of length '2' in the given sentence.
Example Output: a can fo pepsi and cellphone no the table

Example Input: Sentence: 'a dollhouse is open at the top and looks nice'. Reverse all words of length '2' in the given sentence.
Example Output:
a dollhouse si open ta the top and looks nice