Fix some bugs, finding polygons is still way too slow.
	modified:   find_polygons.py