$p$-primary components of homotopy groups IV. Compositions and toric constructions