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 man and a dog in the water with a surfboard'. Reverse all words of length '2' in the given sentence.
Example Output: a man and a dog ni the water with a surfboard

Example Input: Sentence: 'a plate with a very big pile of cake with candles'. Reverse all words of length '4' in the given sentence.
Example Output: a plate htiw a yrev big elip of ekac htiw candles

Example Input: Sentence: 'a baseball player holding a bat walks to home base'. Reverse all words of length '2' in the given sentence.
Example Output:
a baseball player holding a bat walks ot home base