Preallocate all cdata structures.