Added resampling to MergeAndEditClouds