Overlap detection updates

improvements to the change detection code