Renamed Ns to L everywhere.