XS.xs 

if(ph > pt) {
    sv_catpvn(out, pt, (STRLEN)(ph - pt));
}