square root decompositions