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: 'dog lying on bottom of enclosed area with people'. Reverse all words of length '5' in the given sentence.
Example Output: dog gniyl on bottom of enclosed area with people

Example Input: Sentence: 'a group of people loading a tour bus'. Reverse all words of length '3' in the given sentence.
Example Output: a group of people loading a tour sub

Example Input: Sentence: 'brown cattle and white goats in a pasture'. Reverse all words of length '3' in the given sentence.
Example Output:
brown cattle dna white goats in a pasture