fixes for cover detection Hamming distance based overlap detection