Multilevel version of Mesh algorithm. run with -simp for the simplified dynamic algorithm