Add timing to canddidate_gen