graph construction, seeding, and fill