updated Nsq solver for scalar levels