Checking of solution in random points