invalidate_open_interval and invalidate_semi_open_interval.Unsafe.first and Unsafe.last, which would incorrectly return None when the region contains only one point.Unsafe.iter, which would systematically omit the last point of the region.