make pt_in_poly nicer