return; is okay here because once l>tcode[][], l is larger than tcode[][] parmanently.