Refactor CuckooClock