changed floor seeding algorithm