added functionality to find the structure of a voxel