changed bvh4i encoding to handle more primitives, new encoding supports up to 2^28 primitives