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: 'several stacks of trunks in front of a building'. Reverse all words of length '8' in the given sentence.
Example Output: several stacks of trunks in front of a gnidliub

Example Input: Sentence: 'two kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.
Example Output: two sdik playing soccer htiw a llab while a referee watches closely

Example Input: Sentence: 'an image of a plate of meat and vegetables'. Reverse all words of length '2' in the given sentence.
Example Output:
na image fo a plate fo meat and vegetables