A constraint-based algorithm for nonparanormal data