each voxelrenderdata is one which are probably a few hundret in a battle. Isn't there a method to get the last element? Otherwise use pushfront and front().