experimental codes for finding quick overlaps using k-band dynamic program