Fix for overflow when computing metavoxel stats.