Made the tree and added some fields for the voxel class.