don't require loading polys into memory
read polygons at the end of indexing, cut out some unneeded code