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 small plane sitting on top of a tarmac'. Reverse all words of length '2' in the given sentence.
Example Output: a small plane sitting no top fo a tarmac

Example Input: Sentence: 'he is a serious baseball player and is ready for the pitch'. Reverse all words of length '5' in the given sentence.
Example Output: he is a serious baseball player and is ydaer for the hctip

Example Input: Sentence: 'a cat trying to take the cap off of a beverage bottle'. Reverse all words of length '3' in the given sentence.
Example Output:
a tac trying to take eht pac ffo of a beverage bottle