Started trying to debug cuda issues with plane segmentation.
Limited debug code to 32 registers to avoid crashes