Changed X6 LogicMemory to references to fix SegFault