change to nlgn version

last stack version runs time execeeded