added overlap computation