Package for fast computation of the optional polya tree