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 checks upon a baby in a bed'. Reverse all words of length '1' in the given sentence.
Example Output: a woman checks upon a baby in a bed

Example Input: Sentence: 'a wooden pole with multiple street signs mounted on it'. Reverse all words of length '2' in the given sentence.
Example Output: a wooden pole with multiple street signs mounted no ti

Example Input: Sentence: 'a closeup of several flowers on a cake'. Reverse all words of length '7' in the given sentence.
Example Output:
a puesolc of lareves srewolf on a cake