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.

Sentence: 'an asian man stands in front of the sink of a messy kitchen and smiles'. Reverse all words of length '4' in the given sentence.
an asian man stands in front of the knis of a messy kitchen and smiles

Sentence: 'a yellow bird that is on a branch'. Reverse all words of length '1' in the given sentence.
a yellow bird that is on a branch

Sentence: 'a man sitting with head back on a slatted bench outside on pavement with stairs behind'. Reverse all words of length '8' in the given sentence.

a man sitting with head back on a slatted bench outside on tnemevap with stairs behind