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: 'an oldfashioned safe and roll top desk in a green room'. Reverse all words of length '3' in the given sentence.
Example Output: an oldfashioned safe dna roll pot desk in a green room

Example Input: Sentence: 'a road decorated for christmas and trees without leaves'. Reverse all words of length '1' in the given sentence.
Example Output: a road decorated for christmas and trees without leaves

Example Input: Sentence: 'a man is standing in front of some bananas'. Reverse all words of length '5' in the given sentence.
Example Output:
a man is standing in tnorf of some bananas