Added lossless flag to not prune data.