move voxel receiving into class