new way to calculate voxel bbox