If we get 0 prims, we can generate confusing index bounds and go out of bounds. Similarly, if we get a crazy number of control points and fail to allocate, we can crash.