enhance polygon checking process #88