some c++, python
inside polygon corrected