fixed branch connections, improved seeding