fix yermilov/polygonization-20