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 fire hydrant at a city intersection near tall buildings'. Reverse all words of length '2' in the given sentence.
Example Output: a fire hydrant ta a city intersection near tall buildings

Example Input: Sentence: 'a toilet and a sink in small bathroom'. Reverse all words of length '2' in the given sentence.
Example Output: a toilet and a sink ni small bathroom

Example Input: Sentence: 'sepia photograph of an elevated toilet in a bathroom'. Reverse all words of length '5' in the given sentence.
Example Output:
aipes photograph of an elevated toilet in a bathroom