Added extrema computation to voxeldata (for debug). Probably should be removed later