Modify polygon geometry to use typed array for its indices.