add debug print
optimize no-missing-marker LD pruning special case