Added checking for too many overlaps