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 slice of pizza on top of a white plate'. Reverse all words of length '3' in the given sentence.
Example Output: a slice of pizza on pot of a white plate

Example Input: Sentence: 'the tennis players are participating in a lively match'. Reverse all words of length '6' in the given sentence.
Example Output: the sinnet players are participating in a ylevil match

Example Input: Sentence: 'a baseball game with a batter up'. Reverse all words of length '6' in the given sentence.
Example Output:
a baseball game with a rettab up