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 window with the curtain drawn facing a brick building'. Reverse all words of length '1' in the given sentence.
Example Output: a window with the curtain drawn facing a brick building

Example Input: Sentence: 'someone is sitting on a elephant and messing with the seat'. Reverse all words of length '7' in the given sentence.
Example Output: enoemos is gnittis on a elephant and gnissem with the seat

Example Input: Sentence: 'the giraffe stands close to a gate as a crowd walks by'. Reverse all words of length '7' in the given sentence.
Example Output:
the effarig stands close to a gate as a crowd walks by