plane segmentation working