fixed anchoring - use topological sorted traverse

use topological sorted traverse to make sure all parents have been
processed before calculating anchors for their children.
gitignore release dll