fix iteration order when drawing nodes

increase maximum possible number of 2D layers

(0) -30 -10 -2 +2 +10 +30 tip

mercurial