adding multipolygon support