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: 'multiple animals in a field while eating some grass'. Reverse all words of length '5' in the given sentence.
Example Output: multiple animals in a dleif elihw eating some ssarg

Example Input: Sentence: 'a snowy hill with a tree lined area'. Reverse all words of length '4' in the given sentence.
Example Output: a snowy llih htiw a eert lined aera

Example Input: Sentence: 'a teen in a pinny prepares to throw a frisbee'. Reverse all words of length '2' in the given sentence.
Example Output:
a teen ni a pinny prepares ot throw a frisbee