refactor git cover
use poisson sampling for random points