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 tossing a ball to another player'. Reverse all words of length '2' in the given sentence.
Example Output: a baseball player tossing a ball ot another player

Example Input: Sentence: 'a large bird flying next to a light house near a beautiful blue ocean'. Reverse all words of length '9' in the given sentence.
Example Output: a large bird flying next to a light house near a lufituaeb blue ocean

Example Input: Sentence: 'a batter gets ready to run after hitting a pitch'. Reverse all words of length '4' in the given sentence.
Example Output:
a batter steg ready to run after hitting a pitch