buggy implementation of PPL point-in-poly.