Overlap detection