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 tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.
Example Output: a tennis player si swinging ta a tennis ball

Example Input: Sentence: 'several bicycles and a bus parked outside a large building'. Reverse all words of length '7' in the given sentence.
Example Output: lareves bicycles and a bus parked edistuo a large building

Example Input: Sentence: 'an elephant walking with three people on it'. Reverse all words of length '6' in the given sentence.
Example Output:
an elephant walking with three elpoep on it