improved polygon scraper