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: 'an old church with two bell towers is pictured'. Reverse all words of length '8' in the given sentence.
Example Output: an old church with two bell towers is derutcip

Example Input: Sentence: 'a panda bear walking around in the middle of a enclosure'. Reverse all words of length '6' in the given sentence.
Example Output: a panda bear walking dnuora in the elddim of a enclosure

Example Input: Sentence: 'a man holding his tennis racket on the tennis court'. Reverse all words of length '2' in the given sentence.
Example Output:
a man holding his tennis racket no the tennis court