Includes refactoring to reduce the number of bits taken by primitive types, so they more easily fit in the OptiX limit.