My own code is contortious. I refactor it regularly to reduce that, but it still can be better.
So, about five years later is the right time for refactoring.
P.S. It takes about five years to forget what you thought you were doing with that code, and see the reality of what you wrote.