postPriorOverlap function plus tweaks