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 meal consisting of greens rice meat in sauce and banana'. Reverse all words of length '4' in the given sentence.
Example Output: a laem consisting of greens ecir taem in sauce and banana

Example Input: Sentence: 'a woman is up to bat at a softball game'. Reverse all words of length '2' in the given sentence.
Example Output: a woman si pu ot bat ta a softball game

Example Input: Sentence: 'a black white and brown bird and some ducks and water'. Reverse all words of length '3' in the given sentence.
Example Output:
a black white dna brown bird dna some ducks dna water