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: 'this cat is sitting on a porch near a tire'. Reverse all words of length '7' in the given sentence.
Example Output: this cat is gnittis on a porch near a tire

Example Input: Sentence: 'many pairs of open scissors sit on top of metal poles'. Reverse all words of length '4' in the given sentence.
Example Output: ynam pairs of nepo scissors sit on top of metal poles

Example Input: Sentence: 'birds fly overhead while a single livestock grazes in the pasture'. Reverse all words of length '8' in the given sentence.
Example Output:
birds fly daehrevo while a single livestock grazes in the pasture