Fix a bug in seed generation

if the vertex is out of the area, do not make it a seed.