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 baseball player sliding to a base and another trying to catch a ball'. Reverse all words of length '8' in the given sentence.
Example Output: a llabesab player sliding to a base and another trying to catch a ball

Example Input: Sentence: 'a dog lays next to a bag on a couch'. Reverse all words of length '4' in the given sentence.
Example Output: a dog syal txen to a bag on a couch

Example Input: Sentence: 'green blue and yellow semi truck in a building people standing by'. Reverse all words of length '8' in the given sentence.
Example Output:
green blue and yellow semi truck in a gnidliub people gnidnats by