Initializing N and Nt