Improvement of MODNLP (http://ronaldo.cs.tcd.ie/esslli07/)