commented code removed and adaptions to pcl 1.7.