changed ground_truth pruning to prune zero-lengths but not then replace ground truth polygons with their lengths