Changed when to create the point cloud