new seeding algorithm