performs the downward step of the peeling algorithm and computes unnormalized triplet and individual weights