avoid allocating all the memory when rendering bad geojson values