Decomposed structured subsets for semidefinite and sum-of-squares optimization. (March 2022)