Move out of appendBuilding().
Dedupe nodes, addresses #11. Slow.
Speed up 100X.
merge.