now it runs, but segfaults when any subclass of PointCloudConsumer is involved