change method of matching osm shapes