Simplified computeOverlap