Kraken: Improve overlapping check