Changed limits for N