think i fixed the issue with indexing in pointclouds