Added concave polygon check