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 baby elephant in the middle of a field'. Reverse all words of length '3' in the given sentence.
Example Output: a baby elephant in eht middle of a field

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 handicap bathroom with toilet and walkin shower'. Reverse all words of length '4' in the given sentence.
Example Output:
a handicap bathroom htiw toilet and walkin shower