Finally, now I have the conditional probability (although not scaling well enough) prototype here