Gene length as a biological timer to establish temporal transcriptional regulation