Better handling of null, empty and tiny geoms.