Refactored to incorporate logical voxel representation