I think this agrees with the parent's point. How do you know when to refactor?
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.