Added workaround to fix issue with cubes array getting initialized before rawElements.
Added workaround to fix issue with cubes array getting initialized before rawElements.

PathogenDavid/Periodic,PathogenDavid/Periodic,PathogenDavid/Periodic