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: 'the man smiles while holding a small boy'. Reverse all words of length '5' in the given sentence.
Example Output: the man smiles elihw holding a llams boy

Example Input: Sentence: 'a street performer copying a woman on her phone'. Reverse all words of length '7' in the given sentence.
Example Output: a street performer gniypoc a woman on her phone

Example Input: Sentence: 'a road sign and street light are on a light pole'. Reverse all words of length '1' in the given sentence.
Example Output:
a road sign and street light are on a light pole